package demo4;

public abstract class Animals {
    String name;
    int age;
    public Animals(String name, int age){
        this.name = name;
        this.age = age;
    }

    public abstract void eat();
}
